package cn.kgc.crowdfundingadmin2.service;

import cn.kgc.crowdfundingadmin2.pojo.Admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdminService {
    public Admin seleByid(Integer id);
    /*登录*/
    public Admin login(String loginAcct, String userPswd);

    /*分页查询*/
    PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);

    /*删除*/
    void remove(List<Integer> admins);
    /*添加*/
    public void saveAdmin(Admin admin);
    /*根据id查询admin*/
    public Admin seleAdminById(Integer adminId);

    public void updateAdmin(Admin admin);

}
